<!-- 切换动画 -->
<template>
  <div>
      <transition>
         <slot></slot>
      </transition>
  </div>
</template>
<script>
export default {
  name: 'fade',
  data () {
    return {
    }
  },

  components: {},

  computed: {},

  methods: {}
}

</script>
<style lang='stylus' scoped>
.v-enter,.v-leave-to
  opacity 0
.v-enter-active,.v-leave-active
  transition opacity .5s
</style>
